package avicit.bdp.dms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


/**
 * 需要配置@MapperScan，自动扫描mybatis的mapper接口
 */
@SpringBootApplication
@ServletComponentScan
@EnableScheduling
@ComponentScan(basePackages = {"avicit"})
@EnableAsync
@EnableWebMvc

public class DmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(DmsApplication.class, args);
    }

}
